@import "reset";
header{
    .app{
        height: 45px;
        ul{
            li{
                float: left;
                height: 45px;
                line-height: 45px;
                text-align: center;
                background-color: #333333;
                color: white;
            }
            :nth-child(1){
                width: 8%;
            }
            :nth-child(1) img{
               width: 20px;
               vertical-align: middle;
            }
            :nth-child(2){
                width: 10%;
            }
            :nth-child(2) img{
               width: 45px;
            }
            :nth-child(3){
                width: 57%;
            }
            :nth-child(4){
                width: 25%;
                background-color: red;
            }
        }
    }
}
.search-wrap{
    position: fixed;
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    height: 44px;
    overflow: hidden;
    .search-btn{
        position: absolute;
        top: 0;
        left: 0;
        width: 40px;
        height: 44px;

    }
    .search-btn::after{
        content: "";
        display: block;
        width: 20px;
        height: 18px;
        background: url(../images/san.png) no-repeat;
        background-size: 20px 18px;
        margin: 14px 0 0 15px;
    }
    .search{
        position: relative;
        height: 30px;
        background-color: #fff;
        margin: 0 50px;
        border-radius: 20px;
        margin-top: 7px;
        .jd-icon{
            position: absolute;
            width: 20px;
            height: 15px;
            background-color: red;
            top: 7px;
            left: 15px;
            background: url(../images/jd.png) no-repeat;
            background-size: 20px 15px;
        }
        .jd-icon::after{
            content: "";
            position: absolute;
            top: 0px;
            left: 30px;
            display: block;
            width: 1px;
            height: 18px;
            background-color: #ccc;
        }
        .sou{
            position: absolute;
            top: 8px;
            left: 50px;
            width: 18px;
            height: 15px;
            background-color: pink;
            background:url(../images/精灵图.png) no-repeat -83px 0;
            background-size: 200px auto;
            
        }
    }
    .search-login{
        position: absolute;
        top: 0;
        right: 0;
        width: 40px;
        height: 44px;
        line-height: 44px;
        color: #fff;
        text-align: center;
    }
}
.main-content{
    .slider{
        img{
            width: 100%;
        }
    }
    .brand{
        overflow: hidden;
        border-radius:10px 10px 0 0 ;
        div{
            width: 33.33%;
            height: 150px;
            float: left;
            img{
                width: 100%;
                height: 100%;
            }
        }

    }
    nav{
        
        a{
           float: left;
           text-align: center;
            width: 20%;
            background-size: 40px 40px;
            img{
                width: 40px;
                margin: 10px 0 0 0;
            }
            span{
                display: block;
            }
        }
    }
}
.app{
   width: 82 / 50rem;
   height: 30pc;
}